<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>组织部门</title>
<link href="../style/main.css" rel="stylesheet" type="text/css" />
<link type="text/css" rel="stylesheet"  href="../style/style.css" />
<style>
body#bodyTree{margin:8px;font-size:12px;color:#000;line-height:22px;}
body#bodyTree a{color:#000;text-decoration:none;}
body#bodyTree a:hover{color:#3366CC;padding:2px 0px 0px 0px;}
#bodyTree ul{margin:0;padding:0;list-style:none;background:url(../images/tree/ullist.gif) repeat-y;}
#bodyTree ul li{list-style:none;}
#bodyTree .treeview li{background:transparent url(../images/tree/list.gif) no-repeat left center;padding-left:15px;/*tree list*/}
#bodyTree .treeview li.submenu{background:transparent url(../images/tree/closed.gif) no-repeat left 0px;/*4 sub menu*/}
#bodyTree .treeview li.closefolder{background:transparent url(../images/tree/closed.gif) no-repeat left 0px;/*closefolder style*/}
#bodyTree .treeview li.openfolder{background:transparent url(../images/tree/open.gif) no-repeat left 0px;/*openfolder style*/}
#bodyTree .treeview li.submenu ul{display:none;}
#bodyTree ul li a.cur{font-weight:bold;color:#3366CC;padding:2px 2px 0px 2px;/*the current style*/}
#bodyTree .treeview .submenu i{width:12px;height:12px;font-style:normal;font-size:10px;margin-left:-15px;margin-top:5px;float:left;display:inline;background:url(../images/tree/transparent.gif) no-repeat center; cursor:pointer;}
</style>

</head>

<body id="bodyTree">
<s:textfield name="markId"/>
<table width="100%" align="left" cellpadding="0" cellspacing="0"class="table3">
  <tr>
    <td width="12%" align="center" ><span class="clientinfo_but"><a href="biao_des_new.jsp?markId=<s:property value="markId"/>" target="_self">新增标的描述</a></span></td>
    <td width="11%" align="center" ><span class="clientinfo_but"><a href="mdescriptionAction!findMdescription.action" target="_self" onclick="goToEdit(this)">修改标的描述</a></span></td>
    <td width="11%" align="center" ><span class="clientinfo_but"><a href="mdescriptionAction!deleteMdescription.action" target="_self" onclick="goToEdit(this)">删除</a></span></td>
  </tr>
</table>
<div class="clear"></div>
<!-- 实际菜单数据开始 -->
<div id="cmsTree">
<ul id="treemenu3" class="treeview">

<li>标的描述</li><li>
<ul>
<s:iterator value="mdescriptionList">
<li><a href="#" onclick="changeChosed('<s:property value="mdid"/>')"><s:property value="mdescription"/></a></li>
</s:iterator>
</ul>
</li>
</ul>

</div>
<script type="text/javascript">
var chosedId = "";
function changeChosed(obj){
	chosedId = obj;
}
function goToEdit(obj){
alert(obj.href);
	location.href=obj.href+"?mdescription.mdid="+chosedId;
	return false;
}
</script>
</body>
</html>
